<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>内容转移</title>
  <meta name="renderer" content="webkit"> 
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">  
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> 
  <meta name="apple-mobile-web-app-status-bar-style" content="black"> 
  <meta name="apple-mobile-web-app-capable" content="yes">  
  <meta name="format-detection" content="telephone=no"> 
  <link rel="stylesheet" type="text/css" href="__ADMIN__/layui/css/layui.css" media="all">
  <link rel="stylesheet" type="text/css" href="__ADMIN__/bootstrap/css/bootstrap.css" media="all">
  <link rel="stylesheet" type="text/css" href="__ADMIN__/global.css" media="all">
  <link rel="stylesheet" type="text/css" href="__ADMIN__/css/personal.css" media="all"
</head>
<body>
<blockquote class="layui-elem-quote">
  原栏目：{$catename}
</blockquote>
<blockquote class="layui-elem-quote">
请选择新栏目:
<form action="/admin/content/move/tablename/{$tablename}/id/{$id}" method="post">
<select lay-ignore name="cateid" size="15" style="width: 250px; margin-top: 10px;">
	<volist name="milist" id="row">
		<option value="{$row['cateid']}">
			<php>
				for($i=0;$i<$row['marginnum']/10;$i++){
					echo "-";
				}
			</php>
			{$row['catename']}
		</option>
	</volist>
</select>
  <div class="layui-form-item" style="margin-top: 20px;">
    <button id="sub" class="layui-btn" lay-submit="" onclick="clicksub()">提交</button>
  </div>
</form>
</blockquote>
<script type="text/javascript" src="__ADMIN__/layui/layui.js"></script>
<script>
layui.use('form', function(){
  var form = layui.form();
});
var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
function clicksub() {
  parent.layer.close(index);
}
</script>

</body>
</html>